package com.example.demo.service;


import com.example.demo.domain.Role;
import com.example.demo.query.RoleQuery;
import com.example.demo.util.PageList;

import java.util.List;

public interface IRoleService {

    List<Role> listRoleByUserId(Long userid);

    PageList listpage(RoleQuery roleQuery);

    void saveRole(Role role);

    void editSaveRole(Role role);

    void deleteRole(Long id);
}
